package com.ocpsoft.pretty.time.i18n;

/**
 * An utility interface for internationalized message handling.
 * 
 * @author Mihai CAZACU (cazacugmihai@yahoo.com)
 */
public interface I18N {

    public static final String KEY_MILLISECOND = "prettytime.millisecond";
    public static final String KEY_MILLISECONDS = "prettytime.milliseconds";
    public static final String KEY_SECOND = "prettytime.second";
    public static final String KEY_SECONDS = "prettytime.seconds";
    public static final String KEY_MINUTE = "prettytime.minute";
    public static final String KEY_MINUTES = "prettytime.minutes";
    public static final String KEY_HOUR = "prettytime.hour";
    public static final String KEY_HOURS = "prettytime.hours";
    public static final String KEY_DAY = "prettytime.day";
    public static final String KEY_DAYS = "prettytime.days";
    public static final String KEY_WEEK = "prettytime.week";
    public static final String KEY_WEEKS = "prettytime.weeks";
    public static final String KEY_MONTH = "prettytime.month";
    public static final String KEY_MONTHS = "prettytime.months";
    public static final String KEY_YEAR = "prettytime.year";
    public static final String KEY_YEARS = "prettytime.years";
    public static final String KEY_DECADE = "prettytime.decade";
    public static final String KEY_DECADES = "prettytime.decades";
    public static final String KEY_CENTURY = "prettytime.century";
    public static final String KEY_CENTURIES = "prettytime.centuries";
    public static final String KEY_MILLENNIUM = "prettytime.millennium";
    public static final String KEY_MILLENNIA = "prettytime.millennia";

    public static final String KEY_PAST_PREFIX = "prettytime.past.prefix";
    public static final String KEY_PAST_SUFFIX = "prettytime.past.suffix";
    public static final String KEY_FUTURE_PREFIX = "prettytime.future.prefix";
    public static final String KEY_FUTURE_SUFFIX = "prettytime.future.suffix";
    public static final String KEY_JUSTNOW_PAST_SUFFIX = "prettytime.justnow.past.suffix";
    public static final String KEY_JUSTNOW_FUTURE_SUFFIX = "prettytime.justnow.future.suffix";

    /**
     * Gets a message from resource bundle.
     * @param key - the message key. 
     * @return the corresponded message value.
     */
    public String getMessage(String key);
    
}
